package com.youbff.task.core.base;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="leaderCron")
public class LeaderCornYml {

    private String main;
    private String client;
    public String getMain() {
        return main;
    }
    public void setMain(String main) {
        this.main = main;
    }
    public String getClient() {
        return client;
    }
    public void setClient(String client) {
        this.client = client;
    }
    @Override
    public String toString() {
        return "LeaderCornYml [main=" + main + ", client=" + client + "]";
    }
    
}
